package com.ruben.features;

/**
 * 封闭类
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/7/18 17:39
 */
public class SealedDemo {

    public static sealed abstract class Ruben permits Achao {

    }

    public static non-sealed class Achao extends Ruben {

    }

    public static class VampireAchao extends Achao {

    }

}
